package dao;

import java.util.List;
import model.Contact;
import exception.ContactException;

public interface ContactDAO {
    void addContact(Contact contact) throws ContactException;
    void deleteContact(String name) throws ContactException;
    void updateContact(Contact contact) throws ContactException;
    List<Contact> getAllContacts();
    Contact findContact(String name);
}
